<?php

declare(strict_types=1);

namespace app\common\model;


use think\facade\Db;
use app\model\AgentServiceConfig as AgentServiceConfigModel;

class AgentServiceConfig
{
    public function productList($agent_id)
    {
        $list = AgentServiceConfigModel::query()
            ->where('agent_id', $agent_id)
            ->where('status', AgentServiceConfigModel::STATUS_ACTIVE)
            ->column('serv_type');
        return $list;
    }
}